package Java_3_1;

public class Java_3_1_15 {

	public static void main(String[] args) {
		int a=1;
		int b=1;
		int c=2;
		for(int i=1;i<=10;++i) {
			if(i>=3) {
				System.out.print(c);
				a=b;
				b=c;
				c=a+b;
			}else {
				System.out.print(1);
			}
			System.out.print(" ");
		}
	}

}
